<?php
defined('IN_XLP') or exit('Access Denied');
$Document = array(
    'pageid'   => 'fund-apply', //页面标示
    'pagename' => '众筹发起人列表', //当前页面名称
    'mycss'    => array(), //加载的css样式表
    'myjs'     => array(), //加载的js脚本
    'footerjs' => array(),
    'head'     => true, //加载头部文件
);
include getTpl('header', 'public');
?>
<style>
tr th,tr td{text-align:center}
tr td img{border-radius:30px}
.txl{text-align:left}
</style>
<!--顶部导航 开始-->
<?php include getTpl('top', 'public');?>
<!--顶部导航 结束-->
<!--左侧菜单 开始-->
<?php include getTpl('nav', 'public');?>
<!--左侧菜单 结束-->
<!--主体 开始-->
<!-- content -->
<section id="content">
    <!-- main padder -->
    <section class="main padder">
        <div class="clearfix">
            <h4><i class="fa fa-table"></i>众筹发起人列表</h4>
            <section class="panel">
                <div class="panel-body">

                    <div class="table-responsive">
                        <table class="table table-striped b-t text-small">
                            <thead>
                                <tr>
                                    <th width="">序号</th>
                                    <th width="">用户UID</th>
                                    <th width="">小区</th>
                                    <th width="">微信帐号</th>
                                    <th width="400">众筹内容</th>
                                    <th width="">提交时间</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php foreach ($apply_list as $k => $v): ?>
                                <tr>
                                    <td><?php echo $k+1 ?></td>
                                    <td><?php echo $v['uid'] ?></td>
                                    <td><?php echo $v['village'] ?></td>
                                    <td><?php echo $v['wx_account'] ?></td>
                                    <td class="txl"><?php echo $v['fund_content'] ?></td>
                                    <td><?php echo $v['time'] ?></td>
                                </tr>
                                <?php endforeach ?>
                            </tbody>
                        </table>
                    </div>
                    
                    <footer class="panel-footer">
                        <div class="row">
                            <div class="col-sm-12 text-right text-center-sm">
                                <?php echo page($total,$page,'', 20, 'page');?>
                            </div>
                        </div>
                    </footer>

                </div>
            </section>
        </div>
    </section>
    <!--/ main padder -->
</section>
<!--/ content -->
<!--主体 结束-->
<script>
</script>
<?php include getTpl('footer', 'public'); ?>